<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>department</title>
</head>
<body>
{% for i in depart %}
<a href="{% url 'staff' %}/?tag={{ i.id }}">{{ i }}</a><br>
{% endfor %}
</body>
</html>